# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=jchroot
pkgver=1.1
pkgrel=0
pkgdesc="A chroot with more isolation"
url="https://github.com/vincentbernat/jchroot"
arch="all"
license="ISC"
subpackages="$pkgname-doc"
source="https://github.com/vincentbernat/jchroot/archive/v$pkgver/jchroot-$pkgver.tar.gz"

build() {
	make
}

package() {
	install -D -m755 jchroot -t "$pkgdir"/usr/bin/
	install -D -m644 jchroot.8 -t "$pkgdir"/usr/share/man/man8/
}

sha512sums="
1974b16f2631389b71a21676282664bd4c7f681415e73749fd504aaac327cd726326b3b3b7cdebe67c29b333feaae0f6158e191299e389d40dd155375e3181c7  jchroot-1.1.tar.gz
"
